package cn.itsource.org.service;

import cn.hutool.http.server.HttpServerRequest;
import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.JsonResult;
import cn.itsource.org.domain.Shop;
import cn.itsource.org.domain.User;
import cn.itsource.org.pojo.Do.LoginDo;
import cn.itsource.org.query.ShopQuery;
import cn.itsource.org.query.UserQuery;

/**
 * Department业务处理层
 */
public interface IUserService extends IBaseService<User, UserQuery> {


    void verifyPhone(String phone);

    void verifyCode(String phone, HttpServerRequest request);

    void register(User user);

    void emailRegister(User user);

    JsonResult frontVerify(LoginDo loginDo);
}
